const kadorouters = {
  path: '/kado',
  component: () => import('@/layout'),
  redirect: '/kado/kado002',
  name: 'kado',
  meta: {
    title: 'kado',
    icon: 'el-icon-s-help'
  },
  children: [
    {
      path: 'kado002',
      component: () => import('@/views/kado002'),
      name: 'kado002',
      meta: {
        title: 'kado002',
        roles: ['ROLE_ADMIN','ROLE_USER'] // or you can only set roles in sub nav
      }
    },
    {
      path: 'edit/:id(\\d+)',
      component: () => import('@/views/kado002/edit'),
      name: 'kado002Edite',
      meta: { title: 'Edit Article', 
      roles: ['ROLE_ADMIN','ROLE_USER'], activeMenu: '/kado/kado002' },
      hidden: true
    },
    {
      path: 'kado003',
      component: () => import('@/views/kado003'),
      name: 'kado003',
      meta: {
        title: 'kado003',
        roles: ['ROLE_ADMIN','ROLE_TOUGOU'] // or you can only set roles in sub nav
      }
    },
  ]
}


export default kadorouters;